

/*
    Copyright 2011,2012 Calum Stuart Cookson.

    This file is part of Bio Mongoose.

    Bio Mongoose is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Bio Mongoose is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Bio Mongoose.  If not, see <http://www.gnu.org/licenses/>.

*/

#ifndef UTILITY_H
#define UTILITY_H

#include <vector>
#include <string>
#include <stdint.h>

class utility
{
    public:
        /** Default constructor */
        utility();
        /** Default destructor */
        virtual ~utility();
        static std::string get_file(std::string fname);
        static std::vector<std::string> split(std::string, std::string);
        static std::string get_disclaimer_text();
        static std::string generate_copyright_notice(std::string, std::string, std::string);
        static std::string get_head(const std::string &, std::string::size_type);
        static std::string get_tail(const std::string &, std::string::size_type);
        static uint64_t hash_function(const std::string &);
    protected:
    private:
};


#endif // UTILITY_H
